//
//  EmployeeModel.swift
//  DSHCMerchant
//
//  Created by 罗德良 on 2018/4/14.
//  Copyright © 2018年 袋鼠好车. All rights reserved.
//

import UIKit
import HandyJSON
//  - some : "{\"status\":true,\"msg\":\"获取成功!\",\"data\":[{\"uid\":7,\"name\":\"哈哈\",\"type\":1,\"account\":18000000001,\"status\":1,\"type_name\":\"维修工\"},{\"uid\":6,\"name\":\"何平\",\"type\":2,\"account\":18100000000,\"status\":1,\"type_name\":\"Av演员\"},{\"uid\":5,\"name\":\"何平2\",\"type\":1,\"account\":18000000000,\"status\":1,\"type_name\":\"维修工\"},{\"uid\":3,\"name\":\"哈哈\",\"type\":2,\"account\":13600000000,\"status\":1,\"type_name\":\"演员\"},{\"uid\":2,\"name\":\"刷空间\",\"type\":2,\"account\":11111111112,\"status\":1,\"type_name\":\"演员\"},{\"uid\":1,\"name\":\"黄黄\",\"type\":2,\"account\":11111111111,\"status\":1,\"type_name\":\"演员\"}]}"


//{\"status\":true,\"msg\":\"获取成功！\",\"data\":{\"user\":[{\"uid\":2,\"name\":\"刷空间\",\"type\":2,\"account\":11111111112,\"role_id\":2,\"status\":1,\"sex\":1,\"age\":23,\"sid\":122,\"work_id\":2,\"store_id\":122,\"work_name\":\"Av演员\",\"store_name\":\"绵阳修车\"}]}}"

//"{\"status\":true,\"msg\":\"获取成功！\",\"data\":{\"data\":[{\"uid\":7,\"name\":\"哈哈1\",\"work_id\":1,\"account\":18000000001,\"role_id\":1,\"status\":0,\"sex\":1,\"age\":1234,\"sid\":122,\"store_id\":122,\"work_name\":\"维修工\",\"store_name\":\"绵阳修车\"}]}}"

class EmployeeModel: HandyJSON {
    var uid :String = ""
    var name :String = ""
    var sex :String = ""  // 1 男  2女
    var age :String = ""
    var type :String = ""
    var account :String = ""
    var status :String = "" //1 已启用   2已停用
    var store_name :String = ""
    var work_name :String = ""
    var work_id :String = ""
    var role_id :String = ""
    var store_id :String = ""
    var work_time :String = ""
    var skill :String = ""
    required init(){}
}

